import { dialog } from '@gis/lib/components/antd-dialog';

export function realityHouseDialog(title, contentProps) {
  dialog({
    content: () => import('./components/house-detail/index.vue'),
    contentProps: contentProps,
    dialogProps: {
      title: title || '实有房屋',
      width: 'max',
      height: 'fixed',
      footer: null,
      bodyStyle: {
        padding: 0,
      },
    },
  });
}
